import request from '@/utils/request'

// 查询首页业务指南列表
export function listNr(query) {
  return request({
    url: '/business/nr/list',
    method: 'get',
    params: query
  })
}

// 查询首页业务指南详细
export function getNr(id) {
  return request({
    url: '/business/nr/' + id,
    method: 'get'
  })
}

// 新增首页业务指南
export function addNr(data) {
  return request({
    url: '/business/nr',
    method: 'post',
    data: data
  })
}

// 修改首页业务指南
export function updateNr(data) {
  return request({
    url: '/business/nr',
    method: 'put',
    data: data
  })
}

// 删除首页业务指南
export function delNr(id) {
  return request({
    url: '/business/nr/' + id,
    method: 'delete'
  })
}
